export function functionalComponent (tag, className = tag) {
  return {
    name: tag,
    functional: true,
    render (h, {data, slots}) {
      return h(
        'div',
        {attrs: {class: className}},
        slots().default
      )
    }
  }
}
